home *** CD-ROM | disk | FTP | other *** search
- ALOG(3I) Last changed: 4-13-99
-
-
- NNAAMMEE
- LLOOGG, AALLOOGG, DDLLOOGG, QQLLOOGG, CCLLOOGG, CCDDLLOOGG, CCQQLLOOGG - Computes natural logarithm
-
- SSYYNNOOPPSSIISS
- LLOOGG (([XX==]_x))
- AALLOOGG (([XX==]_x))
- DDLLOOGG (([XX==]_x))
- QQLLOOGG (([XX==]_x))
- CCLLOOGG (([XX==]_x))
- CCDDLLOOGG (([XX==]_x))
- CCQQLLOOGG (([XX==]_x))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, IRIX systems
-
- CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
-
- SSTTAANNDDAARRDDSS
- Fortran
-
- Fortran extensions: QQLLOOGG, CCDDLLOOGG, CCQQLLOOGG
-
- DDEESSCCRRIIPPTTIIOONN
- LLOOGG is the generic function name; the others are specifics. These are
- elemental intrinsic functions. They accept the following argument:
-
- _x For AALLOOGG, DDLLOOGG, and QQLLOOGG, _x must be greater than zero and of
- type real. For CCLLOOGG, CCDDLLOOGG, and CCQQLLOOGG, _x must be of type
- complex and not equal to ((00..,,00..)). The type and kind type of
- _x is identical to the type and kind type of the return
- value. See the RETURN VALUES section for information on
- input data types and return values.
-
- Vector versions of these intrinsics exist on some systems. Vector
- versions of AALLOOGG, DDLLOOGG, CCLLOOGG, and CCDDLLOOGG exist on UNICOS and UNICOS/mk
- systems. On UNICOS/mk systems, the vector versions of these
- intrinsics are used when --OO vveeccttoorr33 or --OO33 are specified on the
- compiler command line. A vector version of the single-precision and
- double-precision LLOOGG intrinsic exists on IRIX systems and is used when
- --OO33 is specified on the compiler command line.
-
- These functions evaluate _y = ln(_x).
-
- CCDDLLOOGG is called implicitly by as a result of a generic AALLOOGG call with
- a complex double-precision argument.
-
- NNOOTTEESS
- The AALLOOGG, DDLLOOGG, and CCLLOOGG intrinsic function names can be passed as
- arguments; the others cannot.
-
- On CRAY T90 systems that support IEEE arithmetic, the following return
- values occur:
-
- AALLOOGG((00)) = -infinity
-
- AALLOOGG((--00)) = NaN
-
- AALLOOGG((_x)) = NaN if -infinity <= _x < 0
-
- AALLOOGG((infinity)) = infinity
-
- RREETTUURRNN VVAALLUUEESS
- The generic function LLOOGG becomes a call to one of the other functions
- depending on the type of its argument.
-
- AALLOOGG returns the real natural logarithm of its real argument.
-
- DDLLOOGG returns the double-precision natural logarithm of its
- double-precision argument.
-
- QQLLOOGG returns the quad-precision natural logarithm of its
- quad-precision argument.
-
- CCLLOOGG returns the complex natural logarithm of its complex argument.
- Its argument cannot equal ((00..,,00..)). The range of the imaginary part is
- -pi < _i_m_a_g_i_n_a_r_y__p_a_r_t <= pi.
-
- CCDDLLOOGG returns the complex double-precision natural logarithm of its
- complex double-precision argument.
-
- CCQQLLOOGG returns the complex quad-precision natural logarithm of its
- complex quad-precision argument.
-
- The data type and kind type for real, double-precision, and
- quad-precision values differ depending on your platform. For
- platform-specific information, see the TERMINOLOGY section of the
- IINNTTRROO__IINNTTRRIINN(3I) man page.
-
- SSEEEE AALLSSOO
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
- man page.
-